<h1>Agregar nuevo usuario</h1>
</br>
<?php
	echo $form->create(array('enctype' => 'multipart/form-data'));
	echo $form->input('Person.fullname',array('placeholder'=>'Ej. Miguel Conde','label'=>'Nombre completo:'));
	echo $form->input('User.email',array('placeholder'=>'Ej. youremail@example.com','label'=>'Email:'));
	echo $form->input('Person.tel',array('placeholder'=>'Ej. 8097778989','label'=>'Telefono:'));
	echo $form->input('Person.cel',array('placeholder'=>'Ej. 8095667979','label'=>'Celular:'));
	echo $form->input('Person.address',array('placeholder'=>'Ej. Santo Domingo, Republica Dominicana','label'=>'Direcci&oacute;n:'));
	echo $form->input('User.password',array('placeholder'=>'Ej. yourpassword','type'=>'password','label'=>'Clave'));
	echo $form->input('confirm',array('placeholder'=>'Ej. yourpasswordagain','type'=>'password','label'=>'Repetir clave'));
	echo $form->input('Person.picture',array('type'=>'file'));
	echo $form->input('User.role_id',array('type'=>'hidden','value'=>'2'));
	echo $form->input('User.is_active',array('type'=>'hidden','value'=>'1'));
	echo $form->end('Agregar');
	echo '</br>';
	echo $html->link('Ver listados de usuario',array('action'=>'index'));
	

?>